class fragments::node::profile(
  String $node_install_dir
  ) {
  file { '/etc/profile.d/node.sh':
    ensure => present,
    owner => lookup('mainuser'),
    content => template('fragments/node.sh.erb'),
  }
}
